/*
 * tarm_iic.h
 *
 *  Created on: 2019��10��26��
 *      Author: AN
 */

#ifndef _TARM_TIME_H_
#define _TARM_TIME_H_

#include <stdint.h>


void SYSTIM_StartDelayCounter(int i_timeUs);
void TIM0_Init(void);
void TIM0_InitXUs(uint32_t i_timeUs);
void TIM0_ChangeMatchValue(uint32_t i_value);
void TIM0_Delay(uint32_t i_delayMs);


void TimePV_StartDelayCounter(int i_timeUs);
void TimePV_WaitForFinish(void);
void TimePV_WaitForFinishAtLeast(int i_timeUs);
void TimePV_WaitForHalf();

#endif /* SRC_MIDDLEWARE_TARM_IIC_H_ */
